package com.wugui.datatx.core.enums;

/** increment type */
public enum IncrementTypeEnum {
  /** 2 TIME 1 ID 3 PARTITION */
  TIME(2, "时间"),
  ID(1, "自增主键"),
  PARTITION(3, "HIVE分区");

  private final int code;
  private final String desc;

  IncrementTypeEnum(int code, String desc) {
    this.code = code;
    this.desc = desc;
  }

  public int getCode() {
    return code;
  }

  public String getDesc() {
    return desc;
  }
}
